package com.training.service.impl.liuyong;

import com.training.dao.liuyong.IAjaxDao;
import com.training.pojo.chengshu.UUser;
import com.training.service.liuyong.IAjaxService;

public class AjaxServiceImpl implements IAjaxService {

	private IAjaxDao ajaxDao;

	public boolean checkLoginService(String username, String password) {
		return ajaxDao.checkLogin(username, password);
	}

	public UUser getLoginUser(String username, String password) {
		return ajaxDao.getUser(username, password);
	}

	public IAjaxDao getAjaxDao() {
		return ajaxDao;
	}

	public void setAjaxDao(IAjaxDao ajaxDao) {
		this.ajaxDao = ajaxDao;
	}
}
